package com.zjhcsoft.auth.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 账号表
 * </p>
 *
 * @author wzya
 * @since 2021-03-29
 */
@TableName("T_ACCOUNT")
@KeySequence("mybatisPlusKeyGenerator")
public class Account implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 账号id id
     */
    @TableId(type=IdType.INPUT)
    private Long id;

    /**
     * 用户唯一标识
     */
    @TableField("SYS_USER_ID")
    private Long sysUserId;

    /**
     * 应用唯一标识
     */
    @TableField("APP_ID")
    private Long appId;

    /**
     * 客户状态 0-正常 1-冻结  2-注销
     */
    @TableField("CLIENT_STATUS")
    private String clientStatus;

    /**
     * 连续错误次数
     */
    @TableField("CONTINUOUS_ERROR_TIMES")
    private String continuousErrorTimes;

    /**
     * 当天错误次数
     */
    @TableField("TODAY_ERROR_TIMES")
    private String todayErrorTimes;

    /**
     * 是否绑定设备 0-绑定 1-没绑定
     */
    @TableField("IS_BIND")
    private String isBind;

    /**
     * 是否开启生物识别 0-开启 1-未开启
     */
    @TableField("IS_OPEN_BIOMETRICE")
    private String isOpenBiometrice;

    /**
     * 是否实名 0-已实名 1-未实名
     */
    @TableField("IS_CHECK_USER")
    private String isCheckUser;

    /**
     * 创建时间
     */
    @TableField("CREATED_TIME")
    private Date createdTime;

    /**
     * 更新时间
     */
    @TableField("UPDATED_TIME")
    private Date updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSysUserId() {
        return sysUserId;
    }

    public void setSysUserId(Long sysUserId) {
        this.sysUserId = sysUserId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public String getClientStatus() {
        return clientStatus;
    }

    public void setClientStatus(String clientStatus) {
        this.clientStatus = clientStatus;
    }

    public String getContinuousErrorTimes() {
        return continuousErrorTimes;
    }

    public void setContinuousErrorTimes(String continuousErrorTimes) {
        this.continuousErrorTimes = continuousErrorTimes;
    }

    public String getTodayErrorTimes() {
        return todayErrorTimes;
    }

    public void setTodayErrorTimes(String todayErrorTimes) {
        this.todayErrorTimes = todayErrorTimes;
    }

    public String getIsBind() {
        return isBind;
    }

    public void setIsBind(String isBind) {
        this.isBind = isBind;
    }

    public String getIsOpenBiometrice() {
        return isOpenBiometrice;
    }

    public void setIsOpenBiometrice(String isOpenBiometrice) {
        this.isOpenBiometrice = isOpenBiometrice;
    }

    public String getIsCheckUser() {
        return isCheckUser;
    }

    public void setIsCheckUser(String isCheckUser) {
        this.isCheckUser = isCheckUser;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    @Override
    public String toString() {
        return "Account{" +
        "id=" + id +
        ", sysUserId=" + sysUserId +
        ", appId=" + appId +
        ", clientStatus=" + clientStatus +
        ", continuousErrorTimes=" + continuousErrorTimes +
        ", todayErrorTimes=" + todayErrorTimes +
        ", isBind=" + isBind +
        ", isOpenBiometrice=" + isOpenBiometrice +
        ", isCheckUser=" + isCheckUser +
        ", createdTime=" + createdTime +
        ", updatedTime=" + updatedTime +
        "}";
    }
}
